<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:pm="http://primefaces.org/mobile" contentType="text/html">
	<pm:page id="usercheck" title="Grocery Lists">
		<pm:view id="mainReset">
			<pm:header
				title="Reset password">
			</pm:header>
			<pm:content>

				<h3>Reset password</h3>
				<p:messages id="usernameMessages" autoUpdate="true" />
				<h:form id="findUserForm">
					<h:outputText for="username" value="E-mail: " />
					<p:inputText id="username" value="#{passwordBean.username}" />
					
					<pm:buttonGroup orientation="horizontal">
					
						<h:commandButton id="goToSecurityQuestion" value="Reset"
							action="#{passwordBean.getUserInformation}"/>
						<p:commandButton id="cancelUsername" value="Cancel" action="logout" />
					</pm:buttonGroup>
				</h:form>
			</pm:content>
		</pm:view>
		
	</pm:page>


</f:view>